<template>
	<div>
		<h2>hello {{ title }}</h2>
		<el-button>默认按钮</el-button>
		<el-button type="primary">主要按钮</el-button>
		<el-button type="success">成功按钮</el-button>
		<el-button type="info">信息按钮</el-button>
		<el-button type="warning">警告按钮</el-button>
		<el-button type="danger">危险按钮</el-button>

    <el-input v-model="input" placeholder="请输入内容"></el-input>
	</div>
</template>

<script>
import Vue from 'vue';
import { Button,Input } from 'element-ui';
Vue.use(Button)
Vue.use(Input)
export default {
	data() {
		return {
			title: 'vue2',
      input:''
		}
	},
}
</script>

<style scoped></style>
